package com.diankangwo.util;

/**
 * 消息类型
 */
public enum MessageType {
    system(0, "系统消息"),
    order(1, "订单消息"),
    order_unpaid(2, "待付款状态"),
    order_beforedeliver(3, "待发货"),
    order_delivering(4, "待收货状态"),
    order_uncommented(5, "待评价"),
    order_success(6, "交易完成"),
    order_refund(7, "待退款"),
    order_refundsuccess(8, "已退款"),
    property(9, "资产消息"),
    activity(10, "活动消息"),
    refundsapplyuccess(11, "退款申请同意");

    private int name;
    private String value;

    private MessageType(int name, String value) {
        this.name = name;
        this.value = value;
    }

    public int getName() {
        return name;
    }

    public void setName(int name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

}
